package com.demo.mybatis.enumhandle.entity;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum Sex implements Dict<Integer> {

    MALE    (10, "男性"),
    FEMALE  (20, "女性"),
    ;

    private final Integer code;
    private final String name;

}
